package com.arron.DesignMode.factory.factorymethods;

/**
 * @Classname Client
 * @Date 2020/11/20 11:03
 * @Created by 刘
 */

/**
 *
 * 设计模式之工厂方法设计模式
 *
 */
public class Client {

    public static void main(String[] args) {
        OperationFactory operationFactory = new AddOperationFactory();

        Operation operation = operationFactory.createOperation();

        System.out.println(operation.getResult());

    }

}
